import request from "./request.js"
async function getList(params){
	let {data}=await request({
		url:"/topics",
		data:params
	})
	return data
}



async function getDetail(params){
	let {data}=await request({
		url:"/topic/"+params.id,
		
	})
	return data
}
export  {getList,getDetail}